
<div class="login-form align-center">
    <h2><?= $this->__('Login'); ?></h2>
    <form action="" method="POST" id="login">

        <div class="error autohide" style="display: <?= ($this->error) ? '' : 'none' ?>;"><?= ($this->error) ? $this->error : '' ?></div>

        <div>
            <label for="username">Логин / email</label>
            <input type="text" id="username" name="username" value="" required="required">
        </div>

        <div>
            <label for="password">Пароль</label>
            <input type="password" id="password" name="password" required="required">
        </div>

        <input type="submit" value="<?= $this->__('Login'); ?>" class="btn btn-success">

        <a href="/registration">Регистрация</a>
    </form> 
</div>

